package cn.cool.aop;

public class UserLoginImpl implements UserLogin {

    @Override
    public int login(User user) {
        System.out.println(user.id + "-》" + user.name + "-》投递简历");
        logout();
        this.logout();
        return 1;
    }

    @Override
    public int logout() {
        System.out.println("用户退出");
        return 0;
    }
}
